import { useRouter } from 'next/router'
import React from 'react'
import Head from 'next/head'

const page = () => {
    const router = useRouter()
    const {name} = router.query
  return (
    <div>
      <Head>
        <title>{name}</title>
      </Head>
      {name}
    </div>
  )
}

export default page
